<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title b-ta-center" id="myModalLabel">无需注册，用以下帐号即可直接登录</h4>
      </div>
      <div class="modal-body">
        <a href="javascript:;" onclick='toLogin()'><img id="qqLoginBtn" src="__HOME_IMAGE__/Connect_logo_5.png" alt=""></a>
        <script>
           function toLogin(){
             //以下为按钮点击事件的逻辑。注意这里要重新打开窗口
             //否则后面跳转到QQ登录，授权页面时会直接缩小当前浏览器的窗口，而不是打开新窗口
             var A=window.open("https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=101206152&redirect_uri=http%3a%2f%2fwww.baijunyao.com&state=123123","TencentLogin","width=450,height=320,menubar=0,scrollbars=1,resizable=1,status=1,titlebar=0,toolbar=0,location=1");
           } 
        </script>
        
      </div>
    </div>
  </div>
</div>